package mvc;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

@Controller
public class UserControll {

	@RequestMapping("/manager.do")
	public ModelAndView manager() {
		ModelAndView m = new ModelAndView();
		
		String viewName="manager"; 
		m.setViewName("manager");

		return m;
	}

	@RequestMapping("/guest.do")
	public ModelAndView guest() {
		ModelAndView m = new ModelAndView();
		String viewName="guest";
		m.setViewName("guest");

		return m;

	}

}
